- apt-get update && apt-get upgrade -y
/!\ You need PHP and zip installed!
Get lastest release of H5AIExtract all at your DOC_ROOT/ (c.f.: www/html/)
Update "/etc/apache2/apache2.conf" file (change by yours)
- chmod 777 /var/www/html/_h5ai/public/cache
- chmod 777 /var/www/html/_h5ai/private/cache
Update "/var/www/html/_h5ai/private/conf/options.json" file (change by yours)
- DirectoryIndex index.html index.php /_h5ai/public/index.php
/!\ Change the passhash by yours with the MD5hashing site !
-> Edit as you want and to not create lag (depends on your server).
Update "/etc/apache2/ports.conf" file (change by yours)
- <VirtualHost *:80>
- ErrorLog /home/Files/logs/apache_errors.log
- CustomLog /home/Files/logs/apache_custom.log combined
- RewriteEngine on
- # h5ai
- ProxyPass /h5ai http://%{HTTP_HOST}:8080/
- ProxyPassReverse /h5ai http://%{HTTP_HOST}:8080/
- RewriteRule /h5ai[/]?$ http://%{HTTP_HOST}:8080/ [R=permanent]
- </VirtualHost>
- <VirtualHost *:8080>
- DocumentRoot /home
- ErrorLog /home/Files/logs/apache_errors_alt.log
- CustomLog /home/Files/logs/apache_custom_alt.log combined
- <Directory "/home">
- DirectoryIndex index.html index.php /_h5ai/public/index.php
- allow from all
- Options None
- Require all granted
- </Directory>
- </VirtualHost>
- Listen 80
- Listen 8080
Update "/home/.htpasswd" file (change by yours)
- # Protection (for developing only)
- AuthType Basic
- AuthName "Restricted Area"
- AuthUserFile "/home/.htpasswd"
- Require valid-user
- apt-get update && apt-get upgrade -y
/!\ Vous avez besoin de PHP et zip installé !
Obtenez la dernière version de H5AITout extraire à votre DOC_ROOT/ (c.f.: www/html/)
Mettre à jour le fichier "/etc/apache2/apache2.conf" (changer par le vôtre)
- chmod 777 /var/www/html/_h5ai/public/cache
- chmod 777 /var/www/html/_h5ai/private/cache
Mettre à jour le fichier "/var/www/html/_h5ai/private/conf/options.json" (changer par le vôtre)
- DirectoryIndex index.html index.php /_h5ai/public/index.php
/!\ Changer le passhash par le vôtre avec le site MD5hashing !
-> Modifiez à votre guise et ne créez pas de décalage (dépend de votre serveur).
Mettre à jour le fichier "/etc/apache2/ports.conf" (changer par le vôtre)
- <VirtualHost *:80>
- ErrorLog /home/Files/logs/apache_errors.log
- CustomLog /home/Files/logs/apache_custom.log combined
- RewriteEngine on
- # h5ai
- ProxyPass /h5ai http://%{HTTP_HOST}:8080/
- ProxyPassReverse /h5ai http://%{HTTP_HOST}:8080/
- RewriteRule /h5ai[/]?$ http://%{HTTP_HOST}:8080/ [R=permanent]
- </VirtualHost>
- <VirtualHost *:8080>
- DocumentRoot /home
- ErrorLog /home/Files/logs/apache_errors_alt.log
- CustomLog /home/Files/logs/apache_custom_alt.log combined
- <Directory "/home">
- DirectoryIndex index.html index.php /_h5ai/public/index.php
- allow from all
- Options None
- Require all granted
- </Directory>
- </VirtualHost>
- Listen 80
- Listen 8080
Mettre à jour le fichier "/home/.htpasswd" (changer par le vôtre)
- # Protection (for developing only)
- AuthType Basic
- AuthName "Restricted Area"
- AuthUserFile "/home/.htpasswd"
- Require valid-user